package cn.aopmin.mock.demo.service;

import cn.aopmin.mock.demo.enums.PositionEnum;
import org.springframework.stereotype.Service;


@Service
public class PositionService {

    /**
     * 获取职位描述
     * @param type
     * @return
     */
    public String getStr(int type){
        return String.format("职位: %s",PositionEnum.getPositionDesc(type));
    }

    public String getEmployeesName(String name){
        return name;
    }
 	
 	public void getVoid(){
        System.out.println("没有返回值");
    }
    
}
